<template>
	<view>
		<!-- <u-navbar :is-back="true" :is-fixed="true" title="政策资讯详情"></u-navbar> -->
		<view class="dfes">
			<view class="font-12 pl-2 pt-2 text-999999">三亚市农业农村厅</view>
			<view class="font-12 pl-4 pt-2 text-999999 ">2023.11.25 10:01:22</view>
		</view>
		<view class="pl-2 pr-2 mt-6">
			<rich-text :nodes="richText"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				richText: '<div><p style="color:red;">这是一段富文本内容</p></div>'

			}
		},
		onLoad() {

		},
		computed: {
			richTextNodes() {
				return this.parseHTML(this.htmlContent);
			}
		},
		methods: {

		}
	}
</script>

<style>
</style>